//
//  NWSaleApplyRequest.h
//  KuWoCan
//
//  Created by hwd on 17/4/6.
//  Copyright © 2017年 hwd. All rights reserved.
//

#import "NetworkRequestBase.h"

typedef NS_ENUM(NSUInteger, OrderStatus) {
    OrderStatusToSubmit = 0,                //待提交
    OrderStatusToAudit,                     //待审批
    OrderStatusAuditting,                   //审批中
    OrderStatusDespatchApproval,            //发货部审批
    OrderStatusWaitPaid,                    //待支付
    OrderStatusWaitDelivery,                //待发货
    OrderStatusWaitConfirm,                 //待收货
    OrderStatusCompleted                    //已完成
};

typedef NS_ENUM(NSInteger,SAQueryStatus) {
    SAQueryStatusToSubmit = 0,                        //待提交
    SAQueryStatusToAudit = 1,                         //待审批
    SAQueryStatusAuditting = 2,                       //审批中
    SAQueryStatusPlanningDepartment = 3,              //策划部门
    SAQueryStatusMarketingCenter = 4,                 //营销中心
    SAQueryStatusCompleted = 6                            //已完成
};

typedef NS_ENUM(NSInteger,SCQueryStatus) {
    SCQueryStatusToSubmit = 0,                        //待核销
    SCQueryStatusToAudit = 1,                         //待审批
    SCQueryStatusAuditting = 2,                       //审批中
    SCQueryStatusPlanningDepartment = 3,              //策划部门
    SCQueryStatusFinanceDepartment = 4,               //财务部门
    SCQueryStatusMarketingCenter = 5,                 //营销中心
    SCQueryStatusCompleted = 6                            //已完成
};


@interface NWSaleApplyRequest : NetworkRequestBase

- (void)startRequestGetAllApplyOrCheckListWithUserId:(NSString *)userId pageNo:(NSString *)pageNo pageSize:(NSString *)pageSize approvalStatus:(NSString *)approvalStatus approverUser:(NSString *)approverUser approvalType:(NSString *)approvalType moduleType:(NSInteger)moduleType;

- (void)startRequestDeleteApplyOrCheckWithId:(NSString *)Id moduleType:(NSInteger)moduleType;


- (void)startRequestPassApplyOrCheckWithId:(NSString *)Id userId:(NSString *)userId approvalStatus:(NSString *)approvalStatus approvalType:(NSString *)approvalType approvalMemo:(NSString *)approvalMemo moduleType:(NSInteger)moduleType MbContent:(NSString *)mbContent;

//促销申请

- (void)startRequestCommitSaleApplyWithDic:(NSMutableDictionary *)dic;

- (void)startRequestUpdateSaleApplyWithDic:(NSMutableDictionary *)dic;

- (void)startRequestSaleApplyDetailWithId:(NSString *)Id;


//促销核销

- (void)startRequestUpdateSaleCheckWithDic:(NSMutableDictionary *)dic;

- (void)startRequestSaleCheckDetailWithId:(NSString *)Id;


//产品陈列申请
- (void)startRequestCommitProductApplyWithDic:(NSMutableDictionary *)dic;

- (void)startRequestUpdateProductApplyWithDic:(NSMutableDictionary *)dic;

- (void)startRequestProductApplyDetailWithId:(NSString *)Id;

//产品陈列核销
- (void)startRequestUpdateProductCheckWithDic:(NSMutableDictionary *)dic;

- (void)startRequestProductCheckDetailWithId:(NSString *)Id;

/****  进场费用申请模块  ****/
- (void)startRequestCommitEnterApplyWithDic:(NSMutableDictionary *)dic;

- (void)startRequestUpdateEnterApplyWithDic:(NSMutableDictionary *)dic;

- (void)startRequestEnterApplyDetailWithId:(NSString *)Id;

/****  进场费用核销模块  ****/

- (void)startRequestUpdateEnterCheckWithDic:(NSMutableDictionary *)dic;

- (void)startRequestEnterCheckDetailWithId:(NSString *)Id;

/****  其他费用申请模块  ****/
- (void)startRequestCommitOtherApplyWithDic:(NSMutableDictionary *)dic;

- (void)startRequestUpdateOtherApplyWithDic:(NSMutableDictionary *)dic;

- (void)startRequestOtherApplyDetailWithId:(NSString *)Id;


/****  其他费用核销模块  ****/
- (void)startRequestUpdateOtherCheckWithDic:(NSMutableDictionary *)dic;

- (void)startRequestOtherCheckDetailWithId:(NSString *)Id;





@end
